package mdr;

public enum RequestMethodType {
		put,
		remove,
	    add,
	    addAll,
	    DELETE,
		insert,
		insertAt,
		clear,
		removeall,
		clearAll,
		putAll,
		removeElementAt,
		removeElement,
		insertElementAt,
		addElement,
		clearAndSet,
		removeAttribute,
		set;
		public static boolean contains(String test) {

		    for (RequestMethodType c : RequestMethodType.values()) {
		        if (c.name().toLowerCase().equals(test.toLowerCase())) {
		            return true;
		        }
		    }
		    return false;
		}
}
